<%@taglib  uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div class="col-sm-2 col-lg-2">
    <div class="sidebar-nav">
        <div class="nav-canvas">
            <div class="nav-sm nav nav-stacked">

            </div>
            <ul class="nav nav-pills nav-stacked main-menu">

                <li><a href="user-home.jsp"><i class="glyphicon glyphicon-home"></i><span> Home</span></a>
                </li>
                <c:if test="${sessionScope.usertype eq 'admin'}">    
                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Faculties</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="faculty-register.jsp">Add Faculties</a></li>
                            <li><a href="PageAction.do?action=faculty&pageid=1">View Faculties</a></li>
                        </ul>
                    </li>


                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Student</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="student-register.jsp">Add Student</a></li>
                            <li><a href="PageAction.do?action=student&pageid=1" >View Student</a></li>
                        </ul>
                    </li>


                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Batches</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="add-division.jsp">Add Batches</a></li>
                            <li><a href="PageAction.do?action=division&pageid=1">View Batches</a></li>
                        </ul>
                    </li>





                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Branch</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="add-branch.jsp">Add Branch</a></li>
                            <li><a href="PageAction.do?action=branch&pageid=1">View Branch</a></li>
                        </ul>
                    </li>

                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Subject</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="add-subject.jsp"> Add Subject</a></li>
                            <li><a href="PageAction.do?action=subject&pageid=1">View Subject</a></li>
                        </ul>
                    </li>

                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Lectures</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="lecture-add.jsp"> Add Lecture</a></li>
                            <!--                            <li><a href="PageAction.do?action=subject&pageid=1">View Subject</a></li>-->
                        </ul>
                    </li>

                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span>Time Table</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <c:if test="${sessionScope.parameters eq null}">
                                <li><a href="timetable-parameters.jsp">Add Time Table Parameters</a></li>
                                </c:if>
                            <li><a href="view-timetable-parameter.jsp">View Time Table Parameters</a></li>
                            <li><a href="select-division-to-create-timetable.jsp">Select Division For Time Table</a></li>
                            <!--<li><a href="PageAction.do?action=subject&pageid=1">View Subject</a></li>-->
                            <li><a href="select-faculty-for-timetable.jsp">Select Faculty For Time Table</a></li>
                        </ul>
                    </li>




                    </li>
                </c:if>                 





                <c:if test="${sessionScope.usertype eq 'faculty'}">


                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Lectures</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="lecture-add.jsp">Add Lecture</a></li>
                            <li><a href="view-lecture.jsp">View Lectures</a></li>
                        </ul>
                    </li>
                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Exam</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="add-exam.jsp"> Add Exam</a></li>
                            <li><a href="PageAction.do?action=exam&pageid=1">View Exam</a></li>
                        </ul>
                    </li>

                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Test</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="add-test.jsp"> Add Test</a></li>
                            <li><a href="PageAction.do?action=test&pageid=1">View Test</a></li>
                        </ul>
                    </li>

                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Question</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="add-question.jsp"> Add Question</a></li>
                            <li><a href="PageAction.do?action=question&pageid=1">View Question</a></li>
                        </ul>
                    </li>



                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Topics</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="add-topic.jsp"> Add Topic</a></li>
                            <li><a href="PageAction.do?action=topic&pageid=1">View Topic</a></li>
                        </ul>
                    </li>

                    <li >
                        <a href="ViewFacultyTimetableAction.do">View Timetable</a>
                    </li>


                    </li>

                    <li><a href="#"><i class="glyphicon glyphicon-home"></i><span> FeedBack</span></a>
                    </li>
                </c:if>
                <c:if test="${sessionScope.usertype eq 'student'}">
                    <li><a href="student-view-result.jsp"><i class="glyphicon glyphicon-home"></i><span> View Result</span></a>
                    </li>

                    <li><a href="student-view-exam.jsp"><i class="glyphicon glyphicon-home"></i><span> View Exam</span></a>
                    </li>

                    <li><a href="student-tests.jsp"><i class="glyphicon glyphicon-home"></i><span> View Test</span></a>
                    </li>

                    <li><a href="#"><i class="glyphicon glyphicon-home"></i><span> Give  Exam</span></a>
                    </li>

                    <li><a href="select-division-to-view-timetable.jsp"><i class="glyphicon glyphicon-home"></i><span> View Timetable</span></a>
                    </li>

                    <li><a href="#"><i class="glyphicon glyphicon-home"></i><span> FeedBack</span></a>
                    </li>


                </c:if>



                <li><a href="change-password.jsp"><i class="glyphicon glyphicon-home"></i><span> Change Password</span></a>
                </li>


            </ul>
            <br>
            <br>
            
        </div>
    </div>
</div>